-
Home
-
DPD in Russia – Shipping for WooCommerce
-
1.0.70
-
Code
-
Classes
- Calculator
Total Complexity |
66 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
469 |
Lines of code |
229 |
Logical lines of code |
126 |
Comment lines |
140 |
Methods |
21 |
Properties |
4 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
adjustTariffWithCommission() |
A |
50 |
11 |
26 |
getServiceParmsArray() |
S |
51 |
6 |
25 |
getActualTariff() |
S |
57 |
6 |
18 |
adjustTariffWithMarkup() |
S |
56 |
6 |
17 |
calculateWithTariff() |
S |
56 |
5 |
19 |
AllowedTariffList() |
S |
58 |
5 |
14 |
getListFromService() |
S |
59 |
5 |
14 |
calculateAll() |
S |
56 |
4 |
18 |
calculate() |
S |
58 |
3 |
16 |
convertCurrency() |
S |
64 |
3 |
10 |
TariffList() |
S |
59 |
1 |
15 |
__construct() |
S |
69 |
2 |
6 |
getMinCostWhichUsedDefTariff() |
S |
82 |
1 |
3 |
setDefaultTariff() |
S |
74 |
1 |
5 |
getShipment() |
S |
82 |
1 |
3 |
setShipment() |
S |
77 |
1 |
4 |
getCurrencyConverter() |
S |
82 |
1 |
3 |
setCurrencyConverter() |
S |
77 |
1 |
4 |
getConfig() |
S |
81 |
1 |
3 |
getLastResult() |
S |
81 |
1 |
3 |
getDefaultTariff() |
S |
82 |
1 |
3 |